<?php

class admisionActions extends sfActions {
    
    public function preExecute() {
         $this->getUser()->setAttribute('s_menu', 'admision');
    }

    public function executeAdmin(sfWebRequest $request){

        
         $criteria=new Criteria();
         $criteria->add(TextsPeer::ID,2);
         $admin=TextsPeer::doSelectOne($criteria);
         $this->admin=$admin;
    }

 

}